package com.itzjc.service;

import com.itzjc.domain.entity.RequestUser;
import com.itzjc.domain.pojo.User;

/**
 * TODO
 *
 * @className: UserService
 * @date: 2021-06-10 09:23
 **/

public interface UserService {
    User findById(int id);

    User login(String phone, String password);


    String register(RequestUser requestUser);

    String forget(RequestUser requestUser);

    User userInfoByToken(Integer userId);

    String phoneNumberIsOk(RequestUser requestUser);
}
